package com.yanyu.space.common.core.constants;

/**
 * @author yanyu
 */
public class SpaceConstants {

    /**
     * 核心包
     */
    public static class CorePackage {
        /**
         * 基础包
         */
        private static final String SPACE_BASE = "com.yanyu.space";

        /**
         * space controller目录
         */
        public static final String SPACE_CONTROLLER = SPACE_BASE + ".**.controller";

        /**
         * space dao目录
         */
        public static final String SPACE_DAO = SPACE_BASE + ".**.dao";

        /**
         * space feign目录
         */
        public static final String SPACE_FEIGN = SPACE_BASE + ".**.feign";
    }

    /**
     * 默认配置文件
     */
    public static class Properties {

        /**
         * auth
         */
        public static final String AUTH_PROP = "space-default-auth.yml";

        /**
         * cloud
         */
        public static final String CLOUD_PROP = "space-default-cloud.yml";

        /**
         * db
         */
        public static final String DB_PROP = "space-default-db.yml";

        /**
         * gateway
         */
        public static final String GATEWAY_PROP = "space-default-gateway.yml";

        /**
         * sentinel
         */
        public static final String SENTINEL_PROP = "space-default-sentinel.yml";

        /**
         * redis
         */
        public static final String REDIS_PROP = "space-default-redis.yml";

        /**
         * swagger
         */
        public static final String SWAGGER_PROP = "space-default-swagger.yml";

        /**
         * sleuth
         */
        public static final String SLEUTH_PROP = "space-default-sleuth.yml";

        /**
         * xxljob
         */
        public static final String XXLJOB_PROP = "space-default-xxljob.yml";
    }

    /**
     * 核心包
     */
    public static class Feign {
        public static final String FEIGN_PREFIX_PATH = "/feign";
    }

}
